<section class="content">
    <div class="row">
        <div class="col-xs-12">
            <div class="box">
                <div class="box-header" style="margin-top:1px;">
                    <input type="search" ng-model="filter.projectName" style="width: 220px;" placeholder="Search Project Name Here..." />
                    <br>
                    <br>
                    <table border="1" cellpadding="0" cellspacing="0" width="100%">
                        <tr style="line-height: 30px;">
                            <th width="10%" style="text-align:center;">推送记录名称</th>
                            <th width="10%" style="text-align:center;">推送开始机</th>
                            <th width="10%" style="text-align:center;">推送目标机</th>
                            <th width="15%" style="text-align:center;">推送开始时间</th>
                            <th width="15%" style="text-align:center;">工程名称</th>
                            <th width="12%" style="text-align:center;">工程版本号</th>
                            <th width="10%" style="text-align:center;">推送状态</th>
                            <th width="10%" style="text-align:center;">推送描述</th>
                            <th width="8%" style="text-align:center;">操作</th>
                        </tr>
                        <span ng-if="count != 0">
                        <tr ng-repeat="i in pushRecordList |filter:filter|paging:page.index:page.size| orderBy:'-recordName' " style="line-height: 50px;">
                            <td style="text-align: center;">{{i.recordName}}</td>
                            <td style="text-align: center;">{{i.pushFrom}}</td>
                            <td style="text-align: center;">{{i.jumpServerIp}}</td>
                            <td style="text-align: center;">{{i.startTime}}</td>
                            <td style="text-align: center;">{{i.projectName}}</td>
                            <td style="text-align: center;">{{i.editionNum}}</td>
                            <td style="text-align: center;"><span id="logDiv_{{i.recordName}}">{{i.statusDesc}}</span></td>
                            <td style="text-align: center;">{{i.desc}}</td>
                            <td style="text-align: center;">
                                <button class="btn btn-info" ng-click="repush(i.recordName);">重新推送</button>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="9" style="text-align: right;">
            </div>
                            </td>
                        </tr>
                        </span>
                    </table>
                                <uib-pagination total-items="pushRecordList|filter:filter|size" ng-model="page.index" 
                max-size="5"
                previous-text="上一页"
                next-text="下一页"
                first-text="首页"
                last-text="尾页"

                items-per-page="page.size"

                class="pagination-sm pull-right" boundary-links="true"></uib-pagination>
                </div>
            </div>
        </div>
    </div>
</section>
